package ai.people.netmon.msgsearch.service;

import ai.people.netmon.framework.domain.searchmsg.request.SearchAccountRequest;
import ai.people.netmon.framework.domain.searchmsg.vo.SearchAccountVO;
import ai.people.netmon.framework.model.response.PageResponse;

import java.io.IOException;

/**
 * 账户搜索服务
 *
 * @author yuanqinglong
 * @date 2022/8/3 15:39
 */
public interface AccountSearchService {


    /**
     * 搜索账户
     *
     * @param searchAccountRequest 搜索帐户请求
     * @return {@link PageResponse}<{@link SearchAccountVO}>
     */
    PageResponse<SearchAccountVO> searchAccount(SearchAccountRequest searchAccountRequest) throws IOException;


    /**
     * 搜索标签帐户
     *
     * @param searchAccountRequest 搜索帐户请求
     * @return {@link PageResponse}<{@link SearchAccountVO}>
     * @throws Exception 异常
     */
    PageResponse<SearchAccountVO> searchLabelAccount(SearchAccountRequest searchAccountRequest) throws Exception;
}
